<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head></h:head> 
<body> 
<h:form>
  					   <p:panel header="Ricerca Pacchetto">
		     			<h:panelGrid columns="2" id="regGrid">
							<h:outputText value="Nome Pacchetto: " />
							<p:inputText value="#{ricercaBean.nome}"/>
						 
			    			<h:outputText value="Prezzo MIN: " />
							<p:inputText value="#{ricercaBean.prezzomin}" />
				
							<h:outputText value="Prezzo MAX: " />
							<p:inputText value="#{ricercaBean.prezzomax}" />
				
							<h:outputText value="Città: " />
		        			<p:inputText value="#{ricercaBean.citta}"/>
		        		 </h:panelGrid>
		        		 <h:panelGrid columns="3" id="regGrid1">
		        			<h:outputText value="Data Soggiorno:"/>
		        			<p:calendar id="cal" value="#{ricercaBean.data1}" navigator="true" display="inline"/>
		        			<p:calendar id="cal1" value="#{ricercaBean.data2}" navigator="true" display="inline"/>
						 </h:panelGrid>	
							<p:commandButton value="Cerca"  action="#{ricercaBean.eseguiRicercaPacchetto()}" />
					    </p:panel>
	 				</h:form>
</body> 
</html>
